]> dgit.raspbian.org Git - gnome-shell.git/commit
popupMenu: Don't always ignore SubMenu children in width requests
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 6 Sep 2012 09:43:02 +0000 (11:43 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 6 Sep 2012 11:56:44 +0000 (13:56 +0200)
commit2ed28211ed8904e1f926020e5273bd2494770315
treed122359f26a38bb0e416dadc307d4d8c34d42e89
parent9d0eaa216fc2441d3b273cac14c92e0c0c93a6a2
popupMenu: Don't always ignore SubMenu children in width requests

Hidden children are currently ignored in width requests; in the
case of submenu items, this results in abrupt width changes of
open menus when the corresponding SubMenuMenuItem is toggled.
To fix, only ignore SubMenu children when the corresponding
SubMenuMenuItem is hidden as well.

https://bugzilla.gnome.org/show_bug.cgi?id=683485
js/ui/popupMenu.js